package com.beardedhen.harmonybootstrap.api.view;

import ohos.global.resource.NotExistException;
import ohos.global.resource.WrongTypeException;

import java.io.IOException;

/**
 * The interface Roundable view.
 */
public interface RoundableView {

    /**
     * Sets rounded.
     *
     * @param rounded the rounded
     * @throws NotExistException  the not exist exception
     * @throws WrongTypeException the wrong type exception
     * @throws IOException        the io exception
     */
    void setRounded(boolean rounded) throws NotExistException, WrongTypeException, IOException;

    /**
     * Is rounded boolean.
     *
     * @return the boolean
     * @throws NotExistException  the not exist exception
     * @throws WrongTypeException the wrong type exception
     * @throws IOException        the io exception
     */
    boolean isRounded() throws NotExistException, WrongTypeException, IOException;
}
